package com.purchase.manage.damian.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.purchase.manage.damian.OrderProjectList;
import com.purchase.manage.damian.StoreQuotationList;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author oyi46
 * @version 1.0
 * Create by 2023/7/12 14:53
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderQuotationVO {

    private Long orderId;
    private MultipartFile photo;

    private String corporateName;
    private String contacts;
    private int contactsPhone;
    private String email;
    private String address;
    private BigDecimal countPrice;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deliveryTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date warrantyTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date quotationTime;
    private String remake;
    private String type;
    private List<StoreQuotationList> storeQuotationLists;

    private String maintenanceItems;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date repairDate;
    private String repairLocation;
    private String situation;
    private int abutmentPhone;
    private List<OrderProjectList> orderProjectLists;



}
